package com.bnz.config;

import com.bnz.entity.Book;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration // 相当于：applicationContext.xml文件
@EnableConfigurationProperties({Book.class}) // 相当于是把Student放进spring容器中
public class BookConfig {
}
